<template>
  <div id="app">
我是App组件
  </div>
  <son :house="house" @gift="Hgift"></son>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import son from './components/son.vue';
const house = ref('大别墅')
const Hgift = (gifts : string)=>{
  console.log(gifts);
  
}
</script>

<style scoped>

</style>